package com.panshi.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("问答问题表实体类")
public class AnswerBean2 implements Serializable {

    @ApiModelProperty("回答表id")
    private int answer_id;

    @ApiModelProperty("回答未审核表id")
    private int aaid;

    @ApiModelProperty("用户id")
    private int uid;

    @ApiModelProperty("用户名称")
    private String uname;

    @ApiModelProperty("问题id")
    private int aid;

    @ApiModelProperty("问题标题")
    private String q_title;

     @ApiModelProperty("状态")
    private int state;

    @ApiModelProperty("回答内容")
    private String answer_comment;

    @ApiModelProperty("评论数量")
    private int count;

    @ApiModelProperty("点赞数量")
    private int a_like;

    @ApiModelProperty("踩的数量")
    private int read_like_no;

    @ApiModelProperty("创建时间")
    private Date create_time;

    @ApiModelProperty("更新时间")
    private Date update_time;
}